package com.freesky.web.portal.reomte.fallback;

import com.freesky.common.pojo.Result;
import com.freesky.common.utils.reponse.JSONResponse;
import com.freesky.common.vo.VOAddress;
import com.freesky.web.portal.reomte.AddressRemote;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class AddressRemoteFallback implements AddressRemote {
    private Logger logger = LoggerFactory.getLogger(AddressRemoteFallback.class);

    @Override
    public JSONResponse addressList(VOAddress address) {
        logger.error("获取用户地址列表服务维护中");
        return null;
    }

    @Override
    public Result<VOAddress> address(VOAddress address) {
        logger.error("服务维护中");
        return null;
    }

    @Override
    public Result<Object> addAddress(VOAddress address) {
        logger.error("服务维护中");
        return null;
    }

    @Override
    public Result<Object> updateAddress(VOAddress address) {
        logger.error("服务维护中");
        return null;
    }

    @Override
    public Result<Object> delAddress(VOAddress address) {
        logger.error("服务维护中");
        return null;
    }
}
